projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b861c
)
testdialog: Add a spinner
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Jun 2014 18:03:14 +0000
(14:03 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Jun 2014 18:03:52 +0000
(14:03 -0400)
Trying to track down a problem where animation stops when a modal
dialog is opened and closed.
tests/testdialog.c
patch
|
blob
|
history
diff --git
a/tests/testdialog.c
b/tests/testdialog.c
index e38cc0cd2ddc9a432b2bb3931b73e6a96d6b7f0b..dbc2ff2de134cac29d2fa2b109704ff8d4305bc7 100644
(file)
--- a/
tests/testdialog.c
+++ b/
tests/testdialog.c
@@
-387,6
+387,12
@@
main (int argc, char *argv[])
gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
gtk_container_add (GTK_CONTAINER (vbox), button);
+ button = gtk_spinner_new ();
+ gtk_spinner_start (GTK_SPINNER (button));
+ gtk_widget_show (button);
+ gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
+ gtk_container_add (GTK_CONTAINER (vbox), button);
+
gtk_widget_show (window);
gtk_main ();